package com.ajk.server.service;
import java.util.List;

import com.ajk.server.model.DiseaseSearchHistory;
import com.ajk.server.model.query.DiseaseSearchHistoryQuery;

/**
 * 疾病搜索历史记录  <br>
 * t_disease_search_history <br>
 * v1.0 2016-05-01
 */
 public interface DiseaseSearchHistoryService {
	
	/**
 	*根据ID删除 疾病搜索历史记录
 	*/
 	public Integer deleteDiseaseSearchHistoryById(Integer id);
 	
 	/**
 	*新增 疾病搜索历史记录
 	*/
 	public Integer batchInsertDiseaseSearchHistory(List<? extends DiseaseSearchHistory> diseaseSearchHistorys);
 	
 	/**
 	*新增 疾病搜索历史记录
 	*/
 	public Integer insertDiseaseSearchHistory(DiseaseSearchHistory domain);
 
 	
 	/**
 	*更新 疾病搜索历史记录
 	*/
 	public Integer updateDiseaseSearchHistory(DiseaseSearchHistory domain);
 	
 	/**
 	*根据ID查询 疾病搜索历史记录
 	*/
 	public DiseaseSearchHistory findDiseaseSearchHistoryById(Integer id);

	/**
 	*通过query 查询 疾病搜索历史记录
 	*/
	public List<DiseaseSearchHistory> findDiseaseSearchHistoryByQuery(DiseaseSearchHistoryQuery query);	
	
	/**
 	*通过query count总条数
 	*/
 	public Integer countDiseaseSearchHistoryByQuery(DiseaseSearchHistoryQuery query);
 	
 	/**
 	* 通过ids查询
 	*/
 	public List<DiseaseSearchHistory> findDiseaseSearchHistoryByIds(List<Integer> ids);
 	
}	